import { getGameObjectById } from "../engine";
import { Behaviour } from "../engine/Behaviour";
import { Life } from "./Life";

export class DamageOne extends Behaviour{
    //暂时感觉不需要属性

    // onStart{
    //    
    //     const player=getGameObjectById('Alice');
    //      if('Alice'碰撞了){
    //          const xxx=player.getBehaviour(Life);
    //          xxx.LifePoint-=1;   
    //      }    
    // }
    
}